SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '779bbd1f253e7e121b361d20df7a19ffd6a2bd507079e4931644fa2b427458a3' 
  AND token = 'z2sdRveLNolE+3uAafLNeqOttK3fBE9MFnQo1GwperE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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