SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c7ef5f42dd73cf12a2c8f5e014c2a269f901cae240277a594f22138386e9e96' 
  AND token = 'gmGsIJC0VOcfA8DgVMxOYJXwmwdgofoFAy5cHLPejiI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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