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

Query time 0.00026

JSON explain

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