SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd227139a25276e8dc3cf979d2013b8a8eec71199b250d87c3929ca654759e3e7' 
  AND token = 'bTExm7LlxASa4fj4buETVCGdGk7Owa0xjWRL/6klj90=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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