SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5be8e7efec2847f15723697b9076345ff86d5f3e23a1ddb20fe07fad6d0bd9a' 
  AND token = 'nJbN4rBiEHl0G1JYTnCKihl0SDV5Vl7gyDerRrM8XjA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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