SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a17454d7c63b63024ccb947b7d1c4e2774a3f9c6dc7366ed683dd510d41036c' 
  AND token = 'd6rYr8KQ6ASPc3K5kNIy0Dck4JJ947B8fIjAvD+HUX4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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