SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7cd0f13c96e2279c508aaab7efe400e50a2fcc6d796e947fafab4a7700d3ca17' 
  AND token = 'gNpnc2UFGragHJL2TO79e8+6PfgLyoZZAeVMijkr7to=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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