SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5286926895ef800ab547d61b7d4591505751cc0ea60b10d9788d8ca54bad380' 
  AND token = 'PyrRoeQ84jOBH4B9BMoEhqj+ZeWwa5PWo7M/SUiQJYs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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