SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ba62f7b3f292be05e0fa444f20a7beceb0f34dfc00c19aa8a2ca76e5dbbe0a0' 
  AND token = 'ChDv1qtSYk2xGY7CB5vd0RtlRx4Ul/Zv87CBaCG13hw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}