SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b04efe8aa45e9bd3cb5d7de019d1999269f03f6d88eba00b391a1dc4c4f9442a' 
  AND token = 'MP9B6sK6ttvfxJe+WqPvnQ9ZIDdl45bkmFwUgVJBwl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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