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

Query time 0.00049

JSON explain

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