SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e6f418017322261d289f51b3c0d035666197715394bde306c3a41af917ed390' 
  AND token = '3Cq11h9+UIUncdOhKeBeiUe9cwqwXzIkS4gWnIHUvjw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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