SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f87a130b458e038f844da8c1dbf05c7d7ca2ece061f94f367ce6c01efa0581c' 
  AND token = 'Lpoq6FU7mx+wuxu7R0tl07Cq/nCOVfNcJ5KE+J3eXQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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