SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6e7acfdcaa63cdb3b2b0518808bce201ce943035d85f28a732f337fea7074ad' 
  AND token = '0fo0gjmvAQ5/ywd3M6prYblT1sMsOTrnmYhffYKhtXY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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