SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ce5f7936409764cd7df88a96e2143fdfd03aae3dae75fb476fb7c16f024e3186' 
  AND token = '4Y8hmptHrFSWycp7cPUr1Wkq3HKvQ64/hoH5YF7o8e4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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