SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0caa388854946568bc04c7f7f937955c08c05e42f620effe4cce5cba44182c7a' 
  AND token = '94UgvPkm2py7ugM79FW1E9EVXnKGfYBfnYG3ZyctVKc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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