SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5a58264f4d03b738d817b3ca9d1fd2a7875922ad9a7bf0fe0a8a28e5386edcc' 
  AND token = 'NvC/llQ+Aotgt5ornBtp3KEvbFUU1qR23rYtNUi/CZU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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