SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23fea252dec9dc63a77fc97dd16364e34771657a232167886344f49a9d4c9e5d' 
  AND token = 'W5RivbnREKVR5MhKggYMOiywTf/irywf4smWekeWG/A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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