SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17c1a4a0b9ee37ddcb3124bc291c28d5b214545af809025a0ce3ee4c8a7afa57' 
  AND token = 'KnDzni4sa0N/SPwfG0i//unIkThSkGylVmQ6COdU7WQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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