SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '97e39a4956a4c9017a637058823e883d0bf209fcd7c610bee37bbfa9fbb68f1a' 
  AND token = 'Z+ccQQa3QV56aneF74+zILV/dF0NR6WPO0Sc9uYYeg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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