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

Query time 0.00018

JSON explain

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