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

Query time 0.00039

JSON explain

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