SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3979c81c4a9bcae2273754f7deb0eaf66037fd469f04c226e88d252769630537' 
  AND token = '8ufe4gJtErLgL2lER8GnKajx1Lfge4jMeaP6ttQW64g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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