SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a34893747c1ab2e3027e324b02dd20eb99d1a6037d988674136f301648aab7fd' 
  AND token = 'rWXDOHuMt1aH2bIwhC5gnWtnN1Lc2SQ06ty0EqZq6Ao=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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