SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6cf19b1f9a678b502750911d7242295f49c09f82afc12b6d6b0aa644e7d17d49' 
  AND token = 'mSwkL/HYIQUg9Z8U3ElOSnjSMCqcAxNXy1D7EWgxMG4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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