SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e51b668f724dd12baa938374afb2b669d813e7866d802412ae1051fbda614a98' 
  AND token = 'ZiG9bDiuntS3dOsjT9fuL3ERSjWD5OaMCjTxuusaoag=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}