SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d98225a2e3b4eb30570737be9fad801766a0de2d8015ee370b40db98f5c29f0' 
  AND token = 'a1YD1mbrtquWGeu7aVV0oAKly08KxX35WRjGES6sits=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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