SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ecc83dd51a844f5531e4fc0c6359f79ff8e5b42ba337fc84b61339fd67d7ccc' 
  AND token = 'gSKC5Dld8iWjU6ipH241Weqro9oqmqsn6DrMrL+4ANk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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