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

Query time 0.00027

JSON explain

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