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

Query time 0.00037

JSON explain

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