SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a905dae5405fc7233e84d907138cb5230242a3c39b25b7084ed87a5c03f01fcb' 
  AND token = 'ubwV7cxXHTBCAN1Zuu1UrpddK/e+UGBGMZz4MuoqMK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00063

JSON explain

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