SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f89246acdb74bdb9ad8e7dc8f376ce3caeb61712ed710259450819d5411a1e8' 
  AND token = 'XgYklWOGFXn+zOpiHXz0ypPjophidW2R4SZHMSS85q4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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