SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a508634ab9595f7a84770a9ae98722cf8ef390669bc3ecdc5cc016d6454face' 
  AND token = 'gzO5/IiDyMZfvT65JcETxAk/MYhqim1OAVPwL6+3Jf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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